<template>
	<view>
		<view class="flex one_box" >
			<block>
				<image :src="image" class="imgBox" mode="aspectFill" v-if="image"></image>
				<text v-else class="imgText">{{toptext[0]}}</text>
			</block>
			<view class="textBox">
				<view class="topTextBox">{{toptext}}</view>
				<view class="buttomtextBox">{{buttomtext}}</view>
			</view>
			<view class="cuIcon-right rightBox"></view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"wzh-view",
		props: {
			image:{
				type: String,
				default: 'https://zhaojjw.cn/newjbh/20219223611214',
			},
			toptext:{
				type: String,
				default: '何成成',
			},
			buttomtext:{
				type: String,
				default: '赣州师范高等专科学校',
			},
			id:{
				type: String,
				default: '何成成',
			},
		},
		data() {
			return {
				
			};
		},
		methods:{
			
			
			
		}
	}
</script>

<style>
	
	.one_box{
		height: 177rpx;
		width: 100%;
		border-bottom-width: 1rpx;
		border-bottom-style: solid;
		border-color: #e7e7e7;
		padding-left: 30rpx;
		padding-top: 40rpx;
		position: relative;
		background-color: #FFFFFF;
	}
	
	.imgBox{
		width: 95rpx;
		height: 95rpx;
		border-radius: 180rpx;
	}
	
	
	.textBox{
		margin-top: 7rpx;
		margin-left: 30rpx;
	}
	
	.topTextBox{
		font-size: 30rpx;
		color: #333333;
		margin-bottom: 20rpx;
	}
	
	.buttomtextBox{
		font-size: 25rpx;
		color: #666666;
	}
	
	.rightBox{
		position: absolute;
		right: 34rpx;
		margin-top: 34rpx;
	}
	
	.imgText{
		width: 95rpx;
		height: 95rpx;
		border-radius: 180rpx;
		text-align: center;
		line-height: 100rpx;
		font-size: 35rpx;
		color: #FFFFFF;
		background-color: #007AFF;
	}
</style>
